package com.cms.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cms.exception.SystemDBException;
import com.cms.model.TrCatalog;
import com.cms.model.TrDict;

public interface DictManagerMapper {

	 /**
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void saveDict(@Param("dict")TrDict dict)throws SystemDBException;
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void updateDict(@Param("dict")TrDict dict)throws SystemDBException;
	 
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void delDict(@Param("dict")TrDict dict)throws SystemDBException;
	 
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public TrDict getDictInfo(@Param("dict")TrDict dict);
	 
	 /***
	  * 
	  * @param catalog
	  * @throws SystemDBException
	  */
	 public void saveDictCatalog(@Param("catalogs")List<TrCatalog> catalogs)throws SystemDBException;
	 
	 
	 /***
	  * 
	  * @param catalog
	  * @throws SystemDBException
	  */
	 public void updateDictCatalog(@Param("catalog")TrCatalog catalogs)throws SystemDBException;
	 
	 
	 
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void delCatalog(@Param("catalog")TrCatalog catalog);
	 
	 
	 /**
	  * 
	  * @param log
	  * @return
	  */
	 public List<TrCatalog>queryCatalog();
}
